﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="Shnt.WF.Loop.Loop_through_list_items_workflow.Workflow" sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#" sap2010:WorkflowViewState.IdRef="Shnt.WF.Loop.Loop_through_list_items_workflow.Workflow_1"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:msdad="clr-namespace:Microsoft.SharePoint.DesignTime.Activities.Design;assembly=Microsoft.SharePoint.DesignTime.Activities.Design"
 xmlns:p="wf://workflow.windows.net/$Activities"
 xmlns:p1="http://schemas.microsoft.com/workflow/2012/07/xaml/activities"
 xmlns:s="clr-namespace:System;assembly=mscorlib"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Text</x:String>
      <x:String>Microsoft.Activities</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Drawing</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint.Client.ServerRuntime</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>Microsoft.Activities</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint.DesignTime.Activities</AssemblyReference>
      <AssemblyReference>PresentationFramework</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>Microsoft.Activities.Design</AssemblyReference>
      <AssemblyReference>Shnt.WF.Loop</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence sap2010:WorkflowViewState.IdRef="Sequence_1">
    <Sequence.Variables>
      <Variable x:TypeArguments="p1:DynamicValue" Name="countriesList" />
      <Variable x:TypeArguments="x:String" Name="itemsUri" />
      <Variable x:TypeArguments="p1:DynamicValue" Name="json" />
      <Variable x:TypeArguments="p1:DynamicValue" Name="countries" />
    </Sequence.Variables>
    <p:LookupSPList sap2010:WorkflowViewState.IdRef="LookupSPList_1">
      <p:LookupSPList.ListId>
        <InArgument x:TypeArguments="s:Guid">
          <p1:ExpressionContainerValue x:TypeArguments="s:Guid">
            <p:GetCurrentListId />
          </p1:ExpressionContainerValue>
        </InArgument>
      </p:LookupSPList.ListId>
      <p:LookupSPList.Result>
        <OutArgument x:TypeArguments="p1:DynamicValue">
          <mca:CSharpReference x:TypeArguments="p1:DynamicValue">countriesList</mca:CSharpReference>
        </OutArgument>
      </p:LookupSPList.Result>
    </p:LookupSPList>
    <p1:GetDynamicValueProperties sap2010:WorkflowViewState.IdRef="GetDynamicValueProperties_1">
      <p1:GetDynamicValueProperties.Source>
        <InArgument x:TypeArguments="p1:DynamicValue">
          <mca:CSharpValue x:TypeArguments="p1:DynamicValue">countriesList</mca:CSharpValue>
        </InArgument>
      </p1:GetDynamicValueProperties.Source>
      <scg:Dictionary x:TypeArguments="x:String, OutArgument">
        <OutArgument x:TypeArguments="x:String" x:Key="d/Items/__deferred/uri">
          <mca:CSharpReference x:TypeArguments="x:String">itemsUri</mca:CSharpReference>
        </OutArgument>
      </scg:Dictionary>
    </p1:GetDynamicValueProperties>
    <p1:HttpSend sap2010:WorkflowViewState.IdRef="HttpSend_1" Method="GET">
      <p1:HttpSend.RequestHeaders>
        <InArgument x:TypeArguments="p1:DynamicValue">
          <p1:SetDynamicValueProperties>
            <scg:Dictionary x:TypeArguments="x:String, InArgument">
              <InArgument x:TypeArguments="x:String" x:Key="Accept">application/json;odata=verbose</InArgument>
            </scg:Dictionary>
          </p1:SetDynamicValueProperties>
        </InArgument>
      </p1:HttpSend.RequestHeaders>
      <p1:HttpSend.ResponseContent>
        <OutArgument x:TypeArguments="p1:DynamicValue">
          <mca:CSharpReference x:TypeArguments="p1:DynamicValue">json</mca:CSharpReference>
        </OutArgument>
      </p1:HttpSend.ResponseContent>
      <p1:HttpSend.Uri>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">itemsUri</mca:CSharpValue>
        </InArgument>
      </p1:HttpSend.Uri>
    </p1:HttpSend>
    <p1:GetDynamicValueProperties sap2010:WorkflowViewState.IdRef="GetDynamicValueProperties_2">
      <p1:GetDynamicValueProperties.Source>
        <InArgument x:TypeArguments="p1:DynamicValue">
          <mca:CSharpValue x:TypeArguments="p1:DynamicValue">json</mca:CSharpValue>
        </InArgument>
      </p1:GetDynamicValueProperties.Source>
      <scg:Dictionary x:TypeArguments="x:String, OutArgument">
        <OutArgument x:TypeArguments="p1:DynamicValue" x:Key="d/results">
          <mca:CSharpReference x:TypeArguments="p1:DynamicValue">countries</mca:CSharpReference>
        </OutArgument>
      </scg:Dictionary>
    </p1:GetDynamicValueProperties>
    <ForEach x:TypeArguments="p1:DynamicValue" DisplayName="ForEach&lt;DynamicValue&gt;" sap2010:WorkflowViewState.IdRef="ForEach`1_1">
      <ForEach.Values>
        <InArgument x:TypeArguments="scg:IEnumerable(p1:DynamicValue)">
          <mca:CSharpValue x:TypeArguments="scg:IEnumerable(p1:DynamicValue)">countries</mca:CSharpValue>
        </InArgument>
      </ForEach.Values>
      <ActivityAction x:TypeArguments="p1:DynamicValue">
        <ActivityAction.Argument>
          <DelegateInArgument x:TypeArguments="p1:DynamicValue" Name="country" />
        </ActivityAction.Argument>
        <Sequence sap2010:WorkflowViewState.IdRef="Sequence_2">
          <Sequence.Variables>
            <Variable x:TypeArguments="x:String" Name="countryName" />
          </Sequence.Variables>
          <p1:GetDynamicValueProperties sap2010:WorkflowViewState.IdRef="GetDynamicValueProperties_3">
            <p1:GetDynamicValueProperties.Source>
              <InArgument x:TypeArguments="p1:DynamicValue">
                <mca:CSharpValue x:TypeArguments="p1:DynamicValue">country</mca:CSharpValue>
              </InArgument>
            </p1:GetDynamicValueProperties.Source>
            <scg:Dictionary x:TypeArguments="x:String, OutArgument">
              <OutArgument x:TypeArguments="x:String" x:Key="Title">
                <mca:CSharpReference x:TypeArguments="x:String">countryName</mca:CSharpReference>
              </OutArgument>
            </scg:Dictionary>
          </p1:GetDynamicValueProperties>
          <p:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_1">
            <p:WriteToHistory.Message>
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">string.Format("Country name is {0}", countryName)</mca:CSharpValue>
              </InArgument>
            </p:WriteToHistory.Message>
          </p:WriteToHistory>
        </Sequence>
      </ActivityAction>
    </ForEach>
    <sads:DebugSymbol.Symbol>d1RDOlxTb3VyY2VzXFNoYXJlbm90ZXNcU2hudC5FeGFtcGxlc1xTaG50LldGLkxvb3BcU2hudC5XRi5Mb29wXFdvcmtmbG93XFdvcmtmbG93LnhhbWwZLgOVAQ4CAQE1BUIWAgFEQwVOJAIBOU8FYxMCAStkBW8kAgEgcAWTAQ8CAQI4CzopAgFKPws/ZQIBRUYLRl0CAT9LC0tZAgE6UgtWKgIBN2ALYFECATJbC1tcAgEtT0ZPSwIBLGwLbGECASZnC2dUAgEhcwtzagIBG3oJkQEUAgEDOQ05IwMBSgFURVRjAgE4fguJASoCAQyKAQuQAR4CAQSBARGBAV0CARSGARGGAWICAQ2NARGNAYABAgEF</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="LookupSPList_1" sap:VirtualizedContainerService.HintSize="299,89">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
            </scg:Dictionary>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="GetDynamicValueProperties_1" sap:VirtualizedContainerService.HintSize="299,92" />
      <sap2010:ViewStateData Id="HttpSend_1" sap:VirtualizedContainerService.HintSize="299,62" />
      <sap2010:ViewStateData Id="GetDynamicValueProperties_2" sap:VirtualizedContainerService.HintSize="299,92" />
      <sap2010:ViewStateData Id="GetDynamicValueProperties_3" sap:VirtualizedContainerService.HintSize="247,92" />
      <sap2010:ViewStateData Id="WriteToHistory_1" sap:VirtualizedContainerService.HintSize="247,68" />
      <sap2010:ViewStateData Id="Sequence_2" sap:VirtualizedContainerService.HintSize="269,324">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="ForEach`1_1" sap:VirtualizedContainerService.HintSize="299,474" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="321,1093">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Shnt.WF.Loop.Loop_through_list_items_workflow.Workflow_1" sap:VirtualizedContainerService.HintSize="361,1173" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>